// 全局公用的getters 可以把一些常用的getters从模块里抽出来，...mapGetters(['userInfo']) 而不是...mapGetters('app', ['userInfo'])
const getters = {
  cdnUrl: state => state.app.cdnUrl,
  channelList: state => state.app.channelList,
  countryList: state => state.app.countryList,
  userInfo: state => state.app.userInfo,
  userList: state => state.app.userList,
  region1: state => state.app.region1,
  region2: state => state.app.region2,
  region3: state => state.app.region3,
  region4: state => state.app.region4,
  commonData: state => state.app.commonData,
  leaderList: state => state.app.leaderList,
  regionCascader3: state => state.app.regionCascader,
  regionCascader4: state => state.app.districtCascader,
  addRoutes: state => state.router.addRoutes,
  device: state => state.setting.device,
  language: state => state.setting.language,
}

export default getters
